package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课时课件关系对象 admin_preid_course
 * 
 * @author ruoyi
 * @date 2020-06-16
 */
public class AdminPreidCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 课时id */
    private Long preidId;

    /** 课时名称 */
    private String preidName;

    /** 课件id */
    private Long courseId;

    /** 课件名称 */
    @Excel(name = "课件名称")
    private String courseName;

    /** 课件类型1教材2乐理3选择题4音乐5视频 */
    @Excel(name = "课件类型1教材2乐理3选择题4音乐5视频")
    private String courseType;

    /** 排序 */
    @Excel(name = "排序")
    private String sortNo;

    /**  教材id */
    private Long bookId;

  public Long getBookId () {
    return bookId;
  }

  public void setBookId (Long bookId) {
    this.bookId = bookId;
  }

  public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPreidId(Long preidId) 
    {
        this.preidId = preidId;
    }

    public Long getPreidId() 
    {
        return preidId;
    }
    public void setPreidName(String preidName) 
    {
        this.preidName = preidName;
    }

    public String getPreidName() 
    {
        return preidName;
    }
    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }
    public void setCourseType(String courseType) 
    {
        this.courseType = courseType;
    }

    public String getCourseType() 
    {
        return courseType;
    }
    public void setSortNo(String sortNo) 
    {
        this.sortNo = sortNo;
    }

    public String getSortNo() 
    {
        return sortNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("preidId", getPreidId())
            .append("preidName", getPreidName())
            .append("courseId", getCourseId())
            .append("courseName", getCourseName())
            .append("courseType", getCourseType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("sortNo", getSortNo())
            .toString();
    }
}
